<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="http://www.petercorke.com/RVC/common/toolboxhelp.css">
    <title>M-File Help: iroi</title>
  </head>
  <body>
  <table border="0" cellspacing="0" width="100%">
    <tr class="subheader">
      <td class="headertitle">M-File Help: iroi</td>
      <td class="subheader-left"><a href="matlab:open iroi">View code for iroi</a></td>
    </tr>
  </table>
<h1>iroi</h1><p><span class="helptopic">Extract region of interest</span></p><strong>out</strong> = <span style="color:red>iroi</span>(<strong>im</strong>,<strong>R</strong>) is a subimage of the image <strong>im</strong> described by the
rectangle <strong>R</strong>=[umin,umax; vmin,vmax].

<strong>out</strong> = <span style="color:red>iroi</span>(<strong>im</strong>) as above but the image is displayed and the user is prompted to
adjust a rubber band box to select the region of interest.

[<strong>out</strong>,<strong>R</strong>] = <span style="color:red>iroi</span>(<strong>im</strong>) as above but returns the selected region of
interest <strong>R</strong>=[umin umax;vmin vmax].

<h2>See also</h2>
<p>
<a href="matlab:doc idisp">idisp</a>, <a href="matlab:doc iline">iline</a></p>
<hr>

<table border="0" width="100%" cellpadding="0" cellspacing="0">
  <tr class="subheader" valign="top"><td>&nbsp;</td></tr></table>
<p class="copy">&copy; 1990-2011 Peter Corke.</p>
</body></html>